mcs_App.controller('DashboardController', ['$scope', '$location', function($scope, $location){
    $scope.formData = { };
    $scope.module = '/resources/assets/html/barcode.html';
    $scope.submit = function() {
    };

    $scope.changeModule = function(module) {
    	switch(module) {    	
			case 'barcode':
				$scope.module = '/resources/assets/html/barcode.html';
				break;
			case 'register':
				$scope.module = '/resources/assets/html/user/register.html';
				break;
			default:
				$scope.module = '/resources/assets/html/barcode.html';
    	}
    }
}])